package com.yeyks.hotel.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 酒店佣金明细表
 * </p>
 *
 * @author yun
 * @since 2019-06-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="HotelCommissionBill对象", description="酒店佣金明细表")
public class HotelCommissionBill implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "酒店id")
    @TableField("hotel_id")
    private Integer hotelId;

    @ApiModelProperty(value = "会员卡id")
    @TableField("card_id")
    private Integer cardId;

    @ApiModelProperty(value = "订单号")
    @TableField("order_no")
    private String orderNo;

    @ApiModelProperty(value = "酒店佣金表id")
    @TableField("hotel_commission_id")
    private Long hotelCommissionId;

    @ApiModelProperty(value = "操作金额(单位/分)")
    @TableField("operator_amount")
    private Integer operatorAmount;

    @ApiModelProperty(value = "剩余金额(单位/分)")
    @TableField("remain_amount")
    private Integer remainAmount;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "状态，0待入账，1已入账 , 2取消操作")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "类型，0卡佣金，1提现，2消费佣金")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "创建日期")
    @TableField("create_time")
    private Date createTime;


    public static final String ID = "id";

    public static final String HOTEL_ID = "hotel_id";

    public static final String CARD_ID = "card_id";

    public static final String ORDER_NO = "order_no";

    public static final String HOTEL_COMMISSION_ID = "hotel_commission_id";

    public static final String OPERATOR_AMOUNT = "operator_amount";

    public static final String REMAIN_AMOUNT = "remain_amount";

    public static final String REMARK = "remark";

    public static final String STATUS = "status";

    public static final String TYPE = "type";

    public static final String CREATE_TIME = "create_time";

}
